#include "app_storage.h"

#define CFG_PARTITION "app_cfg"


nvsPartitionMap cfgMapData[] = 
{
    {.partitionname = CFG_PARTITION,        .key = "ssid",                  .data_type = PartitionDataType::tstring},
    {.partitionname = CFG_PARTITION,        .key = "password",              .data_type = PartitionDataType::tstring},
    {.partitionname = CFG_PARTITION,        .key = "runcnt",                .data_type = PartitionDataType::tu32},
};

nvsPartitionMap userMapData[] = 
{
    
};



static_assert((sizeof(cfgMapData)/sizeof(nvsPartitionMap) == static_cast<int>(cfgPartitionData::max)),"cfg data map err!!!");


